package com.zmn.plat.manager.exception;

/**
 * 消息异常类，用于错误消息传递
 *
 * @author xiangjunming
 * @since 2019 /09/04 10:46:51
 */
public class ZmnErrorMessageException extends RuntimeException {

    /**
     * Instantiates a new Zmn error message exception.
     */
    public ZmnErrorMessageException() {
    }

    /**
     * Instantiates a new Zmn error message exception.
     *
     * @param message the message
     */
    public ZmnErrorMessageException(String message) {
        super(message);
    }

    /**
     * Instantiates a new Zmn error message exception.
     *
     * @param message the message
     * @param cause   the cause
     */
    public ZmnErrorMessageException(String message, Throwable cause) {
        super(message, cause);
    }

    /**
     * Instantiates a new Zmn error message exception.
     *
     * @param cause the cause
     */
    public ZmnErrorMessageException(Throwable cause) {
        super(cause);
    }

    /**
     * Instantiates a new Zmn error message exception.
     *
     * @param message            the message
     * @param cause              the cause
     * @param enableSuppression  the enable suppression
     * @param writableStackTrace the writable stack trace
     */
    public ZmnErrorMessageException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
        super(message, cause, enableSuppression, writableStackTrace);
    }
}
